﻿using BCCommon.Enums;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCDto.WebSocketComponent
{
    /// <summary>
    /// WebSocket请求模型
    /// </summary>
    public class WebSocketRequestDto
    {
        /// <summary>
        /// 发送者
        /// </summary>
        public string FromUser { get; set; }
        /// <summary>
        /// 接收者
        /// </summary>
        public string ToUser { get; set; }
        /// <summary>
        /// 沟通类型
        /// </summary>
        public ChatType ChatType { get; set; }
        /// <summary>
        /// 沟通操作类型
        /// </summary>
        public ChatOperationType? ChatOperationType { get; set; }
        /// <summary>
        /// 内容字符串
        /// </summary>
        public string ContentString { get; set; }
    }
}
